home *** CD-ROM | disk | FTP | other *** search
- Path: Inter.NL.net!usenet
- From: Auke.Reitsma@net.HCC.nl (Auke Reitsma)
- Newsgroups: comp.lang.c
- Subject: Re: What is a right hand pointing arrow?
- Date: Mon, 19 Feb 1996 21:54:04 GMT
- Organization: Inter.NL.net, The Internet Provider in The Netherlands.
- Message-ID: <4garpk$okn@altrade.nijmegen.inter.nl.net>
- References: <824587015snz@metsys.demon.co.uk> <4g794c$em8@altrade.nijmegen.inter.nl.net> <4g7lrc$kg3@barnacle.iol.ie> <danpop.824675449@rscernix>
- Reply-To: Auke.Reitsma@net.HCC.nl
- NNTP-Posting-Host: rt98-0.rotterdam.nl.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- danpop@mail.cern.ch (Dan Pop) wrote:
-
- > In <4g7lrc$kg3@barnacle.iol.ie> jab@iol.ie (J Alan Brogan) writes:
-
- > >Auke.Reitsma@net.HCC.nl (Auke Reitsma) wrote:
- > >
- > >
- > >>That right arrow is a end of file marker for text files. Its value is
- > >>0x27.
- > >
- > >the decimal value is 27,
- > >
- > >0x27 is ' (single quote)
-
- > 27 (033 or 0x1B) is ASCII ESC
-
- > 26 (aka ^Z) is used by some brain dead MSDOS software as an end of file
- > marker.
-
- And my brain certainly worked like above mentioned software ... :-(
- My excuses for posting wrong info!
-
- To make it good: AFAIK all MSDOS compilers always treat a ^Z as a true
- end-of-file when the file is opened using fopen( "foo", "r" ). I.e. text
- mode. Binary mode is required to ignore ^Z, or rather treat it as a normal
- (control) character.
-
-
- Greetings from Delft, The Netherlands.
-
- Auke Reitsma
-
-